package com.zego.zegowawaji_server.utils;

/**
 * Json存储key
 */
public class JsonKey {
    static final public String KEY_SEQ = "seq"; // 每条 广播/消息 的序号，回复时需要带上原 seq
    static final public String KEY_CMD = "cmd";
    static final public String KEY_DATA = "data";
    static final public String KEY_SESSION_DATA = "session_data";    // Session 数据，用于回传给发送端

    static final public String KEY_PLAYER = "player";   // 用户
    static final public String KEY_USER_ID = "id";    // 用户手机端分配的唯一标识，以 "XSWL_android_"开头
    static final public String KEY_USER_NAME = "name";    // 用户名
    static final public String KEY_USER_UID = "uid";    // 自己服务器分配的用户id
    static final public String KEY_USER_AVATAR = "avatar";    // 用户头像地址
    static final public String KEY_USER_NICKNAME = "nickname";    // 用户头像地址

    static final public String KEY_USER_TOTAL = "total";    // 当前总人数
    static final public String KEY_ORDER_INDEX = "index";  // 当前排在第几位

    static final public String KEY_USER_QUEUE = "queue";    // 当前排队人员列表
    static final public String KEY_QUEUE_NUMBER = "queue_number";   // 当前排队人数

    static final public String KEY_RESULT = "result";  // 0: OK； 1： Failed
    static final public String KEY_CONFIRM = "confirm"; // 0: 拒绝/放弃；1：确认

    static final public String KEY_GAME_INIT = "game_init"; // 游戏初始化
    static final public String KEY_CATCH_PR = "catch_pr"; // 抓中概率
    static final public String KEY_CATCH_UP_RAND = "catch_up_rand";
    static final public String KEY_CATCH_UP_CONST = "catch_up_const";
    static final public String KEY_CATCH_TOP_RAND = "catch_top_rand";
    static final public String KEY_CATCH_TOP_CONST = "catch_top_const";
    static final public String KEY_CATCH_MOVE_RAND = "catch_move_rand";
    static final public String KEY_CATCH_MOVE_CONST = "catch_move_const";
    static final public String KEY_CATCH_BIG_RAND = "catch_big_rand";
    static final public String KEY_CATCH_BIG_CONST = "catch_big_const";
    static final public String KEY_CATCH_HEIGHT_RAND = "catch_height_rand";
    static final public String KEY_CATCH_HEIGHT_CONST = "catch_height_const";

    static final public String KEY_GAME_ID = "game_id";   // 每局游戏id, 通过移动/下抓指令传递过来
    static final public String KEY_USER_AUTH = "user_auth";   // 用户cookie

    static final public String KEY_TIME_STAMP = "time_stamp";   // 时间戳 System.currentMillSeconds()
}
